Testing if git is successful