How to push code after you install your own Git server: set up SSH or HTTPS and finish the first push
After AngusGit is installed, create an empty repository, pick either an SSH public key or an access token, and push a local project. This article also covers port 2222, using the token as the password, and a first push that is rejected.