We also have an actual german word for that, in addition to the phrases conveying similar meanings:

Egal.

Meaning something is irrelevant, does not matter, can be disregarded. So, something i give zero fucks about would be something that ist mir (scheiß)egal. Add swear words to your liking for emphasis.

I wonder if that’s from/related to the French “égal,” meaning “equal,” thus “it’s all the same to me.” I see German has its own unrelated word for “equal,” but borrowing another language for cursing purposes is as common as merde, pardon my French.
Ah, so basically French fo “6-7” :D
Very possible, we have an older way of saying “ist mir egal” that is “ist mir gleich”, which means equal. So, something is equal to me, i dont care either way, neither option matters.
According to Wiktionary, it is indeed a 17th century borrowing from French égal