And I believe GP was talking about the only thing you need is:
ssh user@remotehost git init --bare repo.git
And then you can add the remote to your local repo with git remote add origin user@remotehost:repo.git
Now all you need to do is git push origin branch_name
Replace origin with another identifier if it's already taken.then do above.
then troubleshoot.
set vm backup policy.
save myriad passwords and secret to bitwarden.
get ubuntu to stay up to date.