# git | Git | Knowledge Base | Instagit

Git Source Code Mirror - This is a publish-only repository but pull requests can be turned into patches to the mailing list via GitGitGadget (https://gitgitgadget.github.io/). Please follow Documentation/SubmittingPatches procedure for any of your improvements.

GitHub Stars: 59k

Repository: https://github.com/git/git

---

## Articles

### [How to Use Bash Regex in a Shell Script: The =~ Operator Explained](/git/git/how-to-use-bash-regex-shell-script)

Learn to use bash regex in shell scripts with the =~ operator. Match strings efficiently within [[ ]] without external processes, boosting your script performance.

- Tags: how-to-guide
- Published: 2026-02-11

### [How to Use grep with Regex Pattern in Linux: Complete Syntax Guide](/git/git/how-to-use-grep-regex-command)

Master grep with regex in Linux commands. Learn the syntax for basic, extended, and Perl-compatible regex patterns to efficiently search your files. Get started now.

- Tags: how-to-guide
- Published: 2026-02-11

