Configure git on a VPS and PC
Context
I have a laptop running Windows 11 (my local machine) and a VPS running Debian 12 that I rent from Netcup.
There are many companies that offer VPS hosting like OVH, Azure... I chose Netcup because for €6/month: I get 4 vCores and 4 GB of RAM.
If I were to host a server running 24/7 at home, the electricity costs alone would be between €15 and €20 per month, not counting the maintenance, which would be a bit complicated.
However, I don’t think it’s perfect either, because I don’t have a lot of RAM/CPU. Every time I develop, I need to configure everything carefully, optimizing every app and package used.
If you find a better offer than Netcup €6/month, I’m all ears.
Local PC
On my local PC, I installed git, VSCode as the IDE, Node.js and npm for my web project using this PowerShell script:
VSCode Git Bash
Once VSCode is installed, to display the terminal in 'git bash' mode, click the little arrow next to the +
button.
VPS
On my VPS, I installed git, Node.js, and npm for my web project using this bash script: