sources said that differentiation of GIF is 0 but x in GIF is variable .and diff.of simple x is 1.?

no idea what

differentiation of GIF

means, but the derivative of a constant is zero (since constants do not change!). And, yes dx/dx = 1.