When comparing Git for Windows vs Visual Studio, the Slant community recommends Git for Windows for most people. In the question“What are the best Git clients for Windows?” Git for Windows is ranked 16th while Visual Studio is ranked 20th. The most important reason people chose Git for Windows is:
Git for Windows includes a command-line interface in the form of Git BASH, a graphical interface in the form of Git GUI and a context menu interface. Git BASH offers the complete power of git, Git GUI aims to cover all git functionality (though it falls a bit short) in a graphical way and the context menu enables quick access to simple commands.
Ranked in these QuestionsQuestion Ranking
Pro Offers three kinds of interfaces
Git for Windows includes a command-line interface in the form of Git BASH, a graphical interface in the form of Git GUI and a context menu interface.
Git BASH offers the complete power of git, Git GUI aims to cover all git functionality (though it falls a bit short) in a graphical way and the context menu enables quick access to simple commands.
Pro The most powerful way to use git
By using the CLI, one is given access to every single git function available, thus providing complete flexibility in managing git.
Pro Great community support
Since most devs invoke git via CLI, there's a higher chance of getting an answer to a CLI-based git problem than that which is GUI-based.
Pro Gives a better overview of how git functions
By using the git from the command line, it's possible to learn how it functions and how best to get the desired result.
Pro Can generate an RSA key pair
It's possible to generate an RSA key pair using Git BASH. Instructions on how to do so can be found here.
Pro Visual representation of commit-history is possible
Even a visual representation of various branches and how they're merged is possible.
To visualize history:
git log --graph
Pro Official IDE developed by Microsoft
If a project type or a platform is available for C#, it's available in Visual Studio. Some IDEs and code editors may cover some project types, but Microsoft always starts with VS. If you work with a cross-platform technology like ASP.NET MVC, it matters less. If you work with Windows-only technologies like UWP or WPF, you have no choice really.
Pro Free Community edition
Community edition is almost Pro edition, with just a few exceptions. Unlike old Express editions, it supports plugins.
Pro Excellent and broad range of plugins
The plugin development ecosystem is very mature and covers a lot of use cases. For example, it is often easy to find a plugin which allows you to have the keybindings of your preferred editor.
Pro Amazing coverage over languages
Supports many types of C, and java, as well as ruby and python.
Pro Cloud storage
Your Visual Studio Online account gives you a place to store your code, backlog, and other project data with no servers to deploy, configure, or manage.
Pro Supported by ReSharper and other plugins
Code productivity tools improve code editing experience greatly, provide static code analysis, refactorings, navigation etc. They are considered by many developers as essential.
Pro Partial cross-platform support
Visual Studio runs on Windows and macOS, so even if you develop on a Mac you can still develop with Visual Studio.
Pro Product backlog
In agile development teams one really needs features such as product backlogs where you can assign features to team mates and track their progress on them. VS provides a web based interface for you to track your team's complete progress on the project.
Pro Fast-paced development iteration
Fast-paced development iteration from the Microsoft team, with new versions and fixes almost every week.
Con Terrible UI
Although it does most of what needs to be done, the actions are not obvious. It is definitely not user-friendly.
Visual Studio is very slow if you don't have a decent system, but even then it can still be slow. Once you get past the first few minutes of slowness, it runs fine, but this should not be acceptable for a professional-grade IDE. This can be caused by a multitude of factors, such as extensions.
Con Professional pricing is a bit steep
The professional edition's pricing is endearing since it costs more than IntelliJ, however, you wouldn't need that if you're not developing for a enterprise.