Create a .bashrc file under ~/.bashrc and away you go. Similarly for ~/.gitconfig. ~ 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 can't create the file (e.g. running Windows), run the below command: ...
How do I create a git repository from a bash file?
Copy the contrib/completion/git-completion.bash file somewhere handy, like your home directory, and add this to your .bashrc: Once that’s done, change your directory to a Git repository, and type: ...
What is Git Bash and how to use it on GitHub?
It was created by GitHub to simplify version control. You can perform all of the same tasks like cloning, deleting, updating, and saving a repo with GitHub Desktop that you can do with Git Bash. Git Bash has a steep learning curve but it is more powerful than GitHub Desktop. Related: How to Delete Unwanted Repositories on GitHub ...
How to show the current git branch in color in Bash?
Inside ~/.bashrc or ~/.bash_profile (choose the file where you normally put any bash customizations/setup), add the lines: As long as you're inside a git repo, your Bash prompt should now show the current git branch in color signifying if its got uncommitted changes. ...