fix typo and improve git bash functions a bit