Is it wise to edit or write in the bash profile?
It all depends on a couple of factors: how comfortable we feel with the command line; if we know what kind of result the change will come about; and how helpful the change will be.
Most of the time the only changes we will need to make in our bash profile is to create aliases (simpler or memorable shortcuts to existing commands or command combinations) or to write environment variables, which are variables that can be available from anywhere and any file inside your local machine, which allows for a higher level of safety, commonly used for sensitive data, like API keys, or certain URLs.
It is advisable to interact with it creating our own aliases, so it can feel more comfortable, we will notice that the
.bash_profile in our local machine is different than the one in Codecademy, but do not worry, while what is already there is important, if we read through the comments we will see that it has a designated section for aliases and another one for environment variables. At the end it is our own bash profile, and since we are learning programming, it is something that we should not worry or fear.