Group common git-project functions in script