Bash script helper for git