Remove a git commit which has not pushed

git reset --hard origin/master

How to install .deb file with dependency in Ubuntu

Run Below command

sudo apt install ./dbeaver-ce_4.3.0_amd64.deb

then run this to fix dependency

apt-get -f install