Merge all git-related functions into one class