Added withLibGitDo function