Pull requests, issues, Actions and branch protection are GitHub features built on top of a hosted Git repository — Git itself has no concept of them. Branching, committing, merging, conflict resolution and tagging are all plain Git and work with no account and no network at all.
Official docs