"Get the gist of it" comes from the French word Gsir, to lie or lying within or the basis of something. It means you may not understand everything but you get the basic idea.
The language of origin is from the Old French word, Gsir, which means "to lie", therefore it means that which lies within, or at the heart of something.