Cleanup of the previous patch.
Cleanup of the previous patch.

Remove the unnecessary -C flag (even though I suggested
it, I forgot we already have the -f flag, which can
serve the same purpose), use mkdir_p function
which already existed, and a few other minor
cleanups.

Signed-off-by: Chris Lalancette <281cd07d7578d97c83271fbbf2faddb83ab3791c@irobot.com>
Reviewed-by: Phil Wasserman <8b8652eb3bc79dbc60701f91cc602b8511f3c13e@irobot.com>

jake4679/git-got,manuelnaranjo/git-got