Borrowed from French galoche; see there for further etymology. Compare also Occitan galòcha.
Practice speaking and memorizing "galotxa" and many other words and sentences in Catalan.