Similar position commands

I’m trying to understand when should MAV_CMD_DO_REPOSITION be uses and when SET_POSITION_TARGET_GLOBAL_INT ?
Their description sounds almost identical to me.