Indian cricket team skipper Shubman Gill scripted history after scoring a brilliant century on Day 2 of the one-off Test match against Afghanistan.