How can I create a realistic glass material?
Use the Principled BSDF shader.

1) Use only Principled BSDF node.
2) Set Transmission to 1 (to get physically accurate glass), but don't touch anything else.
3) Set Roughness as desired
4) Boom. You're done.  

Physically accurate glass using only Principled BSDF.