Git for Windows is a well-known and user-friendly software that provides a smooth platform to easily work with Git within a team-friendly environment.
Sometimes, we want to get rid of some software because of space, or this software is not compatible with other programs, or it frequently hangs in the system, or it is not good as expected by a user. There may be many reasons for removing or uninstalling Git on PC ( Windows 7, 8,10), but the main task is to remove it when files are already in
In this short article, we’ll learn how to uninstall Git and remove those files after uninstalling Git from the directory of the personal computer.
Uninstall Git on Windows
For uninstalling Git, we have to read the warning shown in the pop-up box, and after that, click the Empty Trash.
- Open Control Panel.
- Click Uninstall a program that is shown under Programs.
- We will ban the entry named
Git; right-click that. After that, click Uninstall.
Reinstall Git on Windows
Here, we will learn how to install Git on Windows.
- Firstly, we download the latest Git version for the Windows installer.
- When we have started the installer, there will be the Git Setup wizard screen.
- Open a Command Prompt, or we can open Git Bash if we have chosen not to use Git from the Command Prompt during installation.
Note that uninstalling Git won’t affect our global git-config. It will also not affect our existing repositories.
We can have as many versions of Git as we want simply by uncompressing a portable archive where ever we want.