For this issue, you need to create a .bashrc file under ~/.bashrc
~ is usually your C:\Users\<your user name> folder.
Typing echo ~ in the Git Bash terminal will tell you what that folder is.
If you are unable to create then use this command:
copy > ~/.bashrc
This will give you an error that command not found but this will create the configuration file under ~/.bashrc folder.