refactory the git_source in git/