Rear brake lines for a '75 CJ D44 are different from a '78 CJ M20. Different part numbers. They will be a different shape and length. Fittings may be the same.
You might be able to make them work, but I don't think you'll be able to tell without the part in hand.
Almost everything changes for the 1976 model year.
1) '77 J10 LWB, 258/T15/D20/3.54 bone stock, low options (delete radio), PS, hubcaps. 2) '82 J20 360/T18/NP208/3.73, KOs, 7600 GVWR 3) '75 CJ-6, 304/T15, PS, BFG KM2s, soft top 4) '95 VW Golf Sport 2000cc 2D