He Cloned My App, Then Sued Me for Stealing ItChapter 5

What Git Forgets Slowly

The drive spun up with a sound like a small animal clearing its throat.

I sat cross-legged on the hallway floor, laptop on my knees, cable snaking under my sister's bedroom door. It was 12:10 a.m. The drive's activity light blinked orange, then green. A folder appeared on my desktop with the name *Backups.backupdb*, and inside it, a list of dates, each one the hour a machine I no longer owned had quietly copied itself.

I scrolled to the last one. Fifteen months ago, a Thursday, 6:03 p.m.

I had not thought about that Thursday in fifteen months. It was the day I had gone to a shop in Cihampelas and bought a laptop, wiped the old one, and said goodbye to a machine that had held two years of my life. It was also, by luck, six weeks before the night of the leaked key.

Inside the snapshot, past `Users`, past `raka`, past `Documents`, was a folder called `patungan`.

And inside that, a folder with a name that does not show up in ordinary lists: `.git`.

The first thing to understand about this folder is that it is not the project. The project is the files you see. The `.git` folder is the memory. Every version of every file that ever existed, every commit, every note. When you clone a repository, you receive a copy of that memory.

The second thing, and the reason I was sitting on a floor in the dark, is that git is a slow forgetter.

When I rewrote my history, I did not destroy the old commits. I made new ones and moved a pointer. The old commits still existed in the folder, orphaned, no longer reachable from any branch. Git calls such objects *unreachable*. It does not delete them immediately, because deleting data is the one operation you can never undo. Instead there is a safety net, called the reflog, which records where every branch pointer used to point, and a cleanup process, called garbage collection, that eventually sweeps away what nothing refers to. By default, git waits ninety days to forget the reflog entries for reachable history and thirty for unreachable ones; the objects themselves are protected for a grace period of weeks beyond that.

On my laptop, those weeks had long since passed. The old objects were gone from that machine. But this drive was a photograph taken *before* the rewrite. It did not know what I was going to do. It held the original chain, fully intact, whole, untouched by anyone's second thoughts.

I did not open it in place. I had read just enough about evidence in the previous four hours to be afraid of my own hands. I copied the `patungan` folder out of the snapshot into a new directory on my laptop, and then I went into the copy and typed a command I had typed ten thousand times:

`git log --oneline | wc -l`

The number came back: **2184.**

Two thousand one hundred and eighty-four commits. Thirty months of weekends.

I scrolled to the bottom. The oldest entry was dated thirty months back, a Saturday, 11:48 a.m., and the message was one I had completely forgotten:

*first commit. why is this so hard.*

I laughed so hard I had to put my hand over my mouth. Then I scrolled up through the next hundred and found the messages I had cleaned out of the rewritten history: *wip*, *wip2*, *fix lol*, *ugh*, *revert revert*, *AAAAAAA*. They were all still here. The old history, my honest embarrassing self, preserved in amber because I had been too lazy to throw a drive away.

I ran a command called `git fsck`, which walks through every object in a repository and checks that each one matches its own name. It took eleven seconds.

``` Checking object directories: 100% (256/256), done. ```

No errors. Every object in the chain hashed to exactly the name it claimed. Nobody could have edited that history without breaking something.

That told me the copy was internally consistent. It did not tell me the copy was old.

For that I needed an outsider. A witness whose clock was not mine.

I opened a browser and went to the charts plugin's issue tracker, the one Wren had quoted. It was still there. The issue, titled *Empty state crashes on null series*, was twenty-five months old. My comment sat under it, posted by a GitHub account called `rakawb`, and the timestamp beside it was not something I had typed. It was written by GitHub's servers at the moment the comment arrived. Anyone could see it by hovering.

In the comment, I had written: *Here's how I handle it in my app: 9f3c1a7*, with a link to the commit.

The link was dead. It pointed at a repository where that name no longer existed.

I returned to the terminal and asked my restored copy a single question:

`git show 9f3c1a7`

The screen filled.

``` commit 9f3c1a7e5d... Author: Raka Wibisono Date: Sun Sep 1 16:22:41 2024

add chart widget, handle empty state ```

I read the diff. It added a widget, and a check at the top of it that said, in my handwriting, `if (series.isEmpty) return const SizedBox.shrink();`. That was the exact line I had pasted into the issue, character for character, twenty-five months ago.

The abbreviated name matched. The code matched. The date inside the commit matched the date on a comment that someone else's server had stamped.

I want to say what that meant, slowly, because I almost did not understand it myself.

A hash is a promise. When I wrote `9f3c1a7` into a stranger's website two years ago, I did not know I was doing anything important. But I had committed to a name that could only belong to one specific object, and the stranger's server recorded when I made that commitment. For me to have invented the commit afterwards, I would have had to produce, today, an object whose name starts with `9f3c1a7` and whose contents match what I quoted at that time. That is not a thing anyone can do on demand.

An outside record of a hash is a seal. The hash says *what*. The outsider's clock says *when*. Neither alone is strong. Together they pin an object to a moment.

I stood up. My knees cracked. I stood in the hallway of my rented house at 1:02 a.m. with a pounding in my ears, and the door behind me opened.

"What," said Dinda, "are you doing."

"I found it."

She looked at my face. She walked past me and sat on the floor and read the terminal for a full minute.

"It's the monitor printout," she said.

"It's the monitor printout."

She put her hand on the back of my neck, once, hard, the way she does with a patient who has finally gotten the oxygen number they needed.

"Now don't touch it," she said. "I mean it. Not one more command. You've done enough with your fingers tonight."

I did not know then how much she had just saved me. I will tell you what happens when you touch evidence without a plan, and I will tell you later, when it costs me something.

The email arrived at 7:09 a.m.

I had slept three hours on the floor with the laptop on my chest. The subject line was one I did not understand: *Re: your counter-notification (and a favor).*

It was from a woman named Maribel Santos, an attorney at something called the Free Source Legal Clinic in Oakland.

> Mr. Wibisono, > I read Wren Okonkwo's piece this morning. I am a lawyer who works with open-source developers who get into trouble they can't afford. I'm not trying to sign you up. I'm trying to be useful before somebody does something worse than a force-push. > Three questions. 1) Did you send counter-notifications to the platforms? 2) Do you have any copy of your original git history? 3) Are you the sort of person who answers email, or the sort who says "please call"? > If the answer to 2 is yes, please don't touch it. > Mari

I called. She answered on the second ring, in the voice of a woman who has been awake since before the sun and has not minded.

"Tell me what you did," she said. No hello.

I told her. All of it, the drive, the copy, the `fsck`, the issue comment. She asked, "Did you plug the drive in directly?" and I said yes, and she said, "Okay," in a tone that did not feel like an approval.

"Did you copy files off it?"

"One folder. Into a new directory on my laptop."

"Did you mount it read-only?"

I had not known there was such a thing as read-only mounting. I said so.

"All right," Mari said. "That's not a catastrophe. It's a thing we'll have to explain. Evidence has a life, Raka. How a thing got from the world to the court matters almost as much as what's on it. Every time somebody touches a disk, the computer writes a little record of the touching: when it was opened, by whom. The other side will say those records prove you could have tampered. We'll have a neutral expert examine a clean image, and she'll tell the judge what the drive shows and what your touching did. Until then, the drive goes in a bag, and the bag goes in a locked box, and nobody plugs it in again."

"Understood."

"Good. Now, the counter-notification. When did you file?"

"Tuesday night. Forty minutes after the keynote."

"Good. You were fast." I heard her turn a page. "Here's the timeline, and I want you to hear it plainly. Once a platform forwards your counter-notice, it can restore your app between ten and fourteen business days later, unless the person who filed the takedown tells them he's suing. So the question is whether Halcyon sues. It almost certainly will. If it doesn't, you win by default and everything comes back. If it does, everything stays down until a judge says otherwise."

"So they'll file."

"They'll file. Within about two weeks. A complaint, probably a motion to keep your app offline. A man who goes on stage and calls you a thief does not then let a form letter win."

"And us?"

There was a short silence. "Us," she said, in a different voice. A warm one, but with something hard at the center, like the pit in a mango. "We have about two weeks to be boring and correct."

"What does that mean?"

"It means we stop trying to win on Twitter. It means every claim you make has a receipt, every receipt has a source, and nobody says the word *forged* until we can prove it in a courtroom." She paused. "Can you do boring?"

I thought about the rice-cooker parts, the coin animation, the three weeks I had once spent hunting a single off-by-one.

"Yes," I said. "Boring is the thing I do best."