Cleaning up git directory