Regarding the error 404 code

Hello,
I just recently figured out that I had all my information wrong for my code and I set it up correctly. I have github linked to my netlify account and I know github is updating because I see the code in github. But when I try to press the link I get an error code. I have github set to publish and public, so that shouldn’t be the issue. I don’t know why it isn’t working now when before it was working just fine.

So when I look at what is published, it says: production: main@345fh5. How can I get it to say branch where production is?

Most if not all of that should be covered in the docs: Site deploys overview | Netlify Docs