`git clone [repository url]` now you have a backup.
"Git" is not github/gitlab/gitea, those are complete git management servers all using git and adding (project)management features on top, meant to be hosted on a server (like startos). But just "git" is a decentralized source control management tool.