Add some Ruby wrappers for git commands

These are going to be used in Alaveteli's themes:install rake
task.