Version control Docker

hi, guys

i would like to know… how verison control works…i mean… in low level… ?
if it’s possible use, another verison control… or docker accepts only git ?