adding function to set up Git