- make get_git_status keep the previous exit code