I don’t know how to make the blog post be in the _posts directory.
In principle, move the file, make sure Git knows about it, and commit. Exactly how to do that depends on how you are working: On the GitHub website? Locally on the command line? Maybe with an IDE?
Thank you for replying!