Here’s how to add or edit the PATH in Git Bash. Edit your bash_profile.

<pre lang="bash">
vi ~/.bash_profile

Set your path by adding the new path at the end.

<pre lang="bash">
PATH="/c/WINDOWS/system32:/c/Users/firstname.lastname/google-cloud-sdk/bin"

The example path listed above is truncated for brevity.