It originated in the early 1800s in American English, with its exact origin being unknown.
However, some speculate that it might be a variant of the word "gumption," meaning "understanding," which itself might have originated from the Scottish dialect word "gumption."
So, while "gumption" has no direct Latin connection, its roots might be found in the evolution of English language and its dialects.