Adding extra checks for git