support gh branch, a editor, fixes #1, fixes #2