git clone --branch <branch_name> [email protected]/<reponame> <folder>
git reset HEAD~1 --soft
//Update commit as wish after that commit
git push -f <remote_name> <branch_name>
zcat path/to/file.sql.gz | mysql -h <hostname> -u <username> -p <db_name>