Clean up git directory