Observation of Galactic Sources of Very-High-Energy $\gamma$-rays with the MAGIC Telescope