Regarding access tokens, there’s a third party credential helper for Linux that uses OAuth. I recently found it and started using it a month ago. Works pretty much the same as Git + Windows Credential Manager. In case you are running headless, there is a device mode flag that will allow you to login with the GitHub app on your phone.
https://github.com/hickford/git-credential-oauth
(And if you layer a timed cache helper before the OAuth helper… well you shouldn’t have to reauthenticate every time!)
Otherwise, the Git manual lists some other credential helpers that interface with some password managers.
Carmy: “Cooking is not fun for me.”
Richie: “Yeah, but you love it.”
Carmy: “That doesn’t mean it’s fun.”
Richie: “If this shit is not fun for you, Cousin,what the fuck is fun for you?”
– The Bear, S2 E1