Added function for git commit, fixed comments for git commit and push function