Do the correct way of excluding .git