Update origin if necessary before checking revision
Create the repository with proper permissions.
Merge pull request #57 from binford2k/master

Allows the creation of non-root repositories
Merge pull request #56 from raphink/git_update_origin

Update origin if necessary before checking revision

This looks good. Thanks!
Allow non-root users to clone a repo

Without this, git will report that it can't change back to /root
Merge pull request #59 from binford2k/clone_as_non-root_user

Allow non-root users to clone a repo

Merging my own PR because it's just a rework of an existing PR.
Merge remote-tracking branch 'upstream/master'

* upstream/master:
  Allow non-root users to clone a repo
  Create the repository with proper permissions.
  Update origin if necessary before checking revision