git_open needs to come before the other functions