sync_repo: use puts with string interpolation instead of printf.
sync_repo: no rebase when pulling in git repo.
sync_repo: rename method has_dir -> dir?
sync_repo: no currying.