First, let's find out how many commits need to be squashed into one. This command will show you what commits you have added compared to the master branch:
As you know, for many specific operations git opens a text editor. On macOS and Linux, this is Vim by default. Not the most beginner-friendly editor I'd say. To make you comfortable, set your favorite editor as the git editor with just one command: