Disclaimer: I'm using fish shell on my laptop. It solves everything that's wrong with Bash, and is much more fun.
Greg's Bash Guide - A guide tht aims to aid people interested in learning to work with BASH. It aspires to teach good practice techniques for using BASH, and writing simple scripts.
Also, There's a whole section for Bash Pitfalls, which is worth a read.
Your bash scripts will be more robust, reliable and maintainable if you start them like this:
Why? Read Aaron Maxwell's excellent blog post: Use the Unofficial Bash Strict Mode.
ShellCheck finds bugs in your bash shell scripts.
If you know of any other resources for common pitfalls, please comment below!