Sorry, I cannot share this. Its actually not so easy to set up a working ci pipe. Took us several weeks to make it work. But we also do a lot of other things. I think the first step is to create a build script, I would propose Cake. Which outputs a powershell script, coded in C# syntax. Go to https://cakebuild.net/. This ps script is part of your repro.
Once you have this one, setting it up on a build server is another deal. Can be easy, can be difficult. Depends. We had a lot of issues with minor differences between local and remote build.
E.g. if you fetch the newest nuget packages from 3rd party code but you are behind on your local machine, then this can cause issues for instance.
The build server should checkout from git, run the build script, do something on success or on failure and store the a compiled binary somewhere.