If you startup a new Bash session manually (i.e. bash -xl), you can see what is run on login.
You’ll see the following line in the output:
....
+++ '[' '!' -e /Users/username/.bash_sessions_disable ']'
You can create a .bash_sessions_disable file in your home directory to disable this functionality.