Remove the leftover '.git' directory after the sync is done