Use more proper git method instead of shell fugliness.


Signed-off-by: Sandon Van Ness <sandon@inktank.com>