The consonant sounds in "git" and "kit" are both made by putting the back of our tongue up against the roof on the back of our mouths to release a small puff of air.
If we make these sounds the same way, then what is the difference between them? The difference is not what we do with our mouths, but what we do with our voice.
When we make a /k/ sound, we do not use our voice; the sound is quiet. Put your hand on your throat and make the sound /k/. You should not feel any movement in your throat.
However, when we make a /g/ sound, we do use our voice. Put your hand on your throat and make the /g/ sound. Can you feel the vibrations? Another way to help you learn the difference between these two sounds is that /k/(the voiceless sound) makes a bigger puff of air. Put your hand in front of your mouth and make the /k/ sound. Feel the big puff of air. Now put your hand in front of your mouth again and make the /g/ sound (the voiced sound). Feel only a little puff of air? Good!