If you're "in shape", it means that you're thin, muscular, and athletic. To "get" in shape means to become stronger and thinner.
In the example at top, the speaker says that he wants to "get back in shape". That means that he used to be athletic, but now he's "out of shape". He wants to be "in shape" again.