The process in which a relatively unspecialized cell acquires specialized features of a muscle cell. [ http://purl.obolibrary.org/obo/CL_0000187 GOC:go_curators ]