The solution for my case ended up being to simply use a wildcard in the directory path, since the files were grouped:
git checkout --theirs directory_name/*git add directory_name/*
This may also work, according to helios456:
git checkout --theirs directory_name/.