Manage rcheckin in bare repository
if another commit was done in TFS, keep the repository in good state before reporting error
prevent rcheckin by error in a bare repository
Modify fetch command to manage bare repositories
Manage clone and init in a bare repository
Add branch support in fetch and rcheckin for a bare repository

But should specify the git branch name that should be updated with --bare option

Use :
git tfs fetch --bare=master
git tfs fetch --bare=branch1 -i branch1
git tfs rcheckin --bare=master
git tfs rcheckin --bare=branch1 -i branch1
refactoring of how get ref for a head branch...
corrections....
correct indentation introduced by merge with master
Add a reference to checkin parameter to the checkin method!
fetch : throw error when ahead commit and introduce --force flag

return an error that fetch is not allowed when there is ahead commits in bare repository
and introduce a flag --force which, when used, do fetch anyway and loose the ahead commits
Keep refrence on VersionControlServer to prevent multiple event registration
Merge pull request #353 from pmiossec/bare

Add support of bare repository for init, clone, fetch and rcheckin commands
Merge pull request #389 from pmiossec/prevent_multiple_register_events

Keep reference on VersionControlServer to prevent multiple event registration.
rename 'bare' option of fetch to not conflict from the one of clone