many small fixes; used local in GitHub JSON; removed debug from local-remote-branch-no-assignment; improved error reporting