Add share mode in git_tool