A man who subjected his girlfriend to a campaign of violent and controlling abuse has been jailed.