check for git before trying to update bucket with git