1. Ma Liang got on it.

2. Ma Liang got it on.
3. Ma Liang got on the boat.
4. Ma Liang got the boat on.

(Are they all the same in meaning? Is 'got' a transitive verb or an intransitive verb?)

# 3 is the grammatically correct sentence.

"Got" is an intransitive verb. There is no direct object following it.