A process that is carried out at the cellular level that results in the assembly, arrangement of constituent parts, or disassembly of the T-tubule. A T-tubule is an invagination of the plasma membrane of a muscle cell that extends inward from the cell surface around each myofibril.