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,
- Error code 0xCAA82EE2: Something went wrong (request timed out) [Microsoft]
- FCM Messages! Testing Notifcation from Microsoft to investigate this problem [Microsoft Teams]
- Visual Studio Code available for Apple Mac ARM64 build for native M1 processor support
- Microsoft Edge browser error on MAC - This page is having a problem Try coming back to it later
- Microsoft Office Excel - Couldnt Open the Workbook - The workbook cannot be opened.
- What version of windows do I have?
- What is FCM Messages Test Notification! [Microsoft Teams] [Google Hangouts]
- Microsoft Stream - This may not be for you, It looks like you don't have permission to watch this video
- Internet Explorer browser auto redirect to Microsoft Edge for compatibility with modern web sites
- Power BI error Something went wrong, unable to read the application metadata
- Graph API error when querying BookingBusinesses - ErrorExceededFindCountLimit, The GetBookingMailboxes request returned too many results
- How to save a file as csv in Windows Notepad?
- MO229507 UK Europe users cannot access Microsoft 365 - SharePoint, OneDrive, Teams, Admin center, Planner, Yammer
- Customize Praise badge for Microsoft Teams with own images, values, brand
- Free and easy audio video screen recording using Microsoft PowerPoint
- 0xCAA20003: You ran into an authorization problem. [Microsoft]
- Outlook - The mailbox isn't available. This may have occurred because the license for the mailbox has expired.
- Outlook and Hotmail not working - email issue, message not delivered, send receive problem
- How to fix Microsoft Windows 10 update error 80070020
- Microsoft 365 Excel - PRO TIP Discover insights quickly with Power BI, which is already included in your Microsoft services, See it in action
- How to know file encoding in Microsoft Windows Notepad?
- [Error] Microsoft Teams: We're sorryβwe've run into an issue.
- Microsoft Sign-in Error Code: 50058 (Request Id, Correlation Id and Timestamp)
- [Microsoft Teams 4c7] Modern authentication failed here, but you'll still be able to sign in. Your status code is 4c7 error
- How to turn on Bluetooth on Windows 10
More Posts:
- XmlRpcException ConnectException connection refused error - Java
- Free and easy audio video screen recording using Microsoft PowerPoint - Microsoft
- Android appcompat_v7 Error retrieving parent for item: No resource found that matches the given name - Android
- Todays Apple Spring Loaded Event Live Updates - Apple
- JavaScript : Get url protocol HTTP, HTTPS, FILE or FTP - JavaScript
- [Fix] Java Exception with Lambda - Cannot invoke because object is null - Java
- How to Change Text Size for Android ActionBar - Android
- Android Toolbar example with appcompat_v7 21 - Android