Is it possible to create a default .profile or .bash_profile with default configuration intact on macOS?
On user creation, the home directory contents are copied from a directory /System/Library/User\ Template/&lt;language&gt; (where language is for example English.lproj), so you could copy the original file using:

sudo cp /System/Library/User\ Template/&lt;language&gt;/&lt;file&gt; ~/


The problem is that .bashrc is non-existent in the default profile, so you can just delete it from your home directory to get the initial state.

Though you might check your installation to be 100% sure.