As I kept running into GitHub auth issues on each new local setups, I documented the steps here.
This gist documents how to set up your local dev env, especially on a headless Ubuntu machine, to push local Git changes to remote GitHub repositories.
It features
- fine-grained auth token
- headless env, e.g. remote ubuntu dev machine, where browser-based auth does not work well
To acquire the permission to push local changes to the remoate GitHub repos.