Inherited from Old Galician-Portuguese presto, from Late Latin praestus, from the adverb praestō. Compare Catalan prest, French prêt, Italian presto. The meaning pertaining to music comes from Italian presto.
Practice speaking and memorizing "presto" and many other words and sentences in Portuguese.