It's normal for this to build up on vehicles that are not serviced properly. If it had had the battery terminals greased it wouldn't have built up.
Boil a kettle full of water and pour it over the terminal then scrub the rest off with a wire brush. Hopefully the terminal won't have corroded to much. Grease the terminal afterwards.