No-SSH approach for GitHub under Linux

I wanted to make full use of my git repositories on GitHub without having to set up SSH access. I’m using Ubuntu Linux under WSL.

Setting up

Usage

The following is a test I’ve conducted after setting up access as described in the previous section.

Yay!

More information

Relevant GitHub documentation pages:

Update

Note, that now there is also official GitHub CLI, which has auth command. It probably sets up Git configuration as well. I need to test this out and update this document.