On an assignment recently, I worked with a dev-ops team that refused to have anything to do with FTP, and rightly so..it can be a very inefficient and insecure way to transfer files.
When I asked “well, how do I get the code to the server then?” I was told it was all done behind the scenes when I commit to git. I was intrigued and wanted to do that for my personal projects …and this is how I did it.