I agree with all the advice given in this thread. I just want to add that I think you should try to avoid chatgpt (or least use it in a way it explains the problem to you without giving you the answer), as it solves trivial problems easily, and solves complex problems with bugs.
It promotes use of
git checkout -b
instead ofgit switch -c
:/It’s also buggy, since it doesn’t actually check the end state of the repository, just that the correct input has been made at some point