commit and sub directory support for Git based installation 

Implements the commit checkout and installing from a sub directroy of
the cloned repository for git.