Ok so we revolve around the sun. At nighttime in January we face away from the sun to see the nighttime sky and stars.
6 months later in July we’re on the opposite side of the sun and now again at nighttime we face away from the sun.
But this direction is now 180 degrees away from the January direction… but the nighttime sky is still the same
How is that possible


It’s not the same, you will see different constellations in different seasons.
Edit: there are constellation map apps you can play around with to get a sense of it. This website lets you do the same.