Back in the days of horse cavalry, soldiers carried shorter muskets for ease of handling on horseback. These were called carbines, from the Italian.
Later,the term carried over to rifled weapons, and now has changed to mean any short,light, rifled shoulder arm shorter than the standard rifle.