Ensure that git is working by trying to commit and push changes