Switch current branch in git bare repository