Fixes few bugs

There was a notice in GtiBranch (fix took from aredridel's branch), a namespace issue into GitTree. And made a little improvement into the Git class to allow to open bare repositories.