makes sure ownership is set to git