allow sync and git directory to be different