use logger instead of log
put github repositories in into github.com/<project>/<repo>.git
use git config so that all origin branchs are fetched
only add patterns to commits git command when present
add test for cachePath()