Fixed function initrepo
Fixed function initrepo

Return 0 if .git exists, after changing directory to $root.
Make use of branch encapsulation function
Return 0 at the end

jpic/bashworks,bishopb/bashworks,bishopb/bashworks,jpic/bashworks,bishopb/bashworks,jpic/bashworks,bishopb/bashworks