refactor: Replacing system() call for Git commands with ruby-git

ruby-git still only wraps system() calls but supports all Git commands
and has better error reporting

Resolves #2