1. Installation
Git does not need a server. Under Windows, put this: gitforwindows.org . There is a 32-bit and 64-bit version.
A git-bash unix-like console and a GUI tool will be installed along with git. You can use Visual Studio as another GUI. There are many other GUIs, but with the ability to work through the console and the presence of a full-fledged IDE, they will not be useful.
1.1. Integration with Visual Studio
If you need integration with Visual Studio, you can install http://gitextensions.imtqy.com/ . Included is a plugin for VS. (Link from KoVadim comment )
2. Startup and initial configuration:
Open the git-bash command shell: right-click on an empty space in any folder and select git bash here .
Perform a basic configuration , you need to do it once. Use your name and your mailbox. If you are setting up Git in the workplace, you most likely need to use work mail.
git config --global user.name "John Doe" git config --global user.email johndoe@example.com
And to use CRLF line endings, as is customary in Windows:
git config --global core.autocrlf true
Instead of console commands, you can edit the config file in any text editor (local is located in %папка_проекта%\.git\config , global in C:\Users\%имя_юзера%\.gitconfig ).
3. Start using
If git bash is already open, go to the project folder:
cd С:/путь/к/проекту
Or right-click on an empty space in the project folder and select git bash here .
Now, to create a local repository and thus start project version control:
git init
Documentation
More on this topic:
Documentation entry point: https://git-scm.com/book/en/v2