PS C:\Users\c2c> git --version
git: The term 'git' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ git --version
+ ~~~
+ CategoryInfo : ObjectNotFound: (git:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
If you trying to run Git on PowerShell and you get the above error then make sure you re-run your Git-Bash Installation Setup to add the option to "Let git run from the command line or 3rd party tools", or simply add the Git path to the Path Environment Variable.
Git Setup - Adjust your path Environment
- In Search type "Edit Environment variable for your account",
- Click on "Environment Variables..." button,
- Under System Variables -> Path add: C:\Program Files\Git\cmd
- Click Ok and restart PowerShell.
Have Questions? Post them here!
More Posts related to Microsoft,
- Lost your iPhone? Regenerate QR Code for Microsoft Authenticator App
- What is Microsoft 365 Message You are using more licenses on your trial than what you will purchase once the free trial ends.
- Power BI error Something went wrong, unable to read the application metadata
- How to save a file as csv in Windows Notepad?
- You're not on Teams yet, but you can set it up for your organization. [Microsoft Teams Login Error]
- Fix- Microsoft Word Pages Appear Black
- How To Remove Only Conditional Formatting in Excel
- How to record PowerPoint slide show presentation on Mac - narration, slide timings, ink gestures
- Fix 0x80070194 Error When Opening Microsoft OneDrive File
- 0xCAA20003: You ran into an authorization problem. [Microsoft]
- PowerShell git: The term git is not recognized as the name of a cmdlet
- Remove mailto link from Microsoft 365 Word Document Email Text
- How to take a screenshot on Microsoft Windows OS on PC or Laptop
- How to Force Quit Microsoft Excel Application on Mac
- [fix] Microsoft Error Code 0x80004005 - Unspecified error
- How to Delete a Sheet in Excel on Mac
- How to add Business Users using Microsoft 365 Admin Center
- [Microsoft Teams 4c7] Modern authentication failed here, but you'll still be able to sign in. Your status code is 4c7 error
- Fix Microsoft Store Error Code: 0x80072EFD
- How to add Data Analysis Add-in in Excel on Mac
- How to Select Two Separate Columns in Excel on Mac
- Internet Explorer browser auto redirect to Microsoft Edge for compatibility with modern web sites
- How to Create Absolute References in Microsoft Excel for Mac
- What is FCM Messages Test Notification! [Microsoft Teams] [Google Hangouts]
- How to Sync Microsoft Teams Calendar with Mac Calendar
More Posts:
- apt-get list --installed packages in Ubuntu Linux - Ubuntu
- How to get unique values from a list in Python - Python
- SQL: Check if table exists - HowTos
- What is $$ in Bash Shell Script- Special Variable - Bash
- Open New tab using keyboard shortcut in Mac Terminal - Mac-OS-X
- W3 HTML validator warning Unable to Determine Parse Mode - Html
- Show Hidden Files in Mac Terminal - MacOS
- Disable Fading Edges Scroll Effect Android Views - Android