Use sudo to manipulate repos under /opt/git

Repositories under /opt/git are owned by root, so sudo must be used to
manipulate them.

Change-Id: I62f489070ae9ac0a751dc6049134b88baca4efa6