Remove git clone and is_bare methods

These aren't used, so they're just dead weight.

Change-Id: I331dcf58b3a9b040dc341daffb52f8267610219d