updated for support the .git buffer for git cobase using