Does blockchain work like Git? So the blockchain is a linked list structure, but the transaction chain is a DAG, that means that bitcoin works a bit like Git?
In a way, yes.  Each block contains the differences of each address and the result becomes the current UTXO set.