Setting up a git server (github, gitlab equivalents specifically) has never been more fun than with Gitea, on Linux with Docker
gitea's excellent docs: https://docs.gitea.com/installation/install-with-docker
Why you should self host: https://www.youtube.com/watch?v=ZmIO3mMW098
My full server tour: https://www.youtube.com/watch?v=lAwS-V1Co2E
Coding a secure port forwarder: https://www.youtube.com/watch?v=aUBeJyfg9GQ
Intro music: pokemon hgss route 47
Chapters:
00:00 - Overview
02:02 - Customising the Docker Compose File
06:13 - Databases Overview
08:12 - Downloading and Running the Container
09:18 - Setting up the Web Interface
14:17 - Adding SSH Keys for Git Authentication
15:38 - Setting Up .ssh/config
17:45 - How I do Secure Remote Access