Prepare the pans for baking. Spray with baking spray. Line the bottoms of the pans with parchment paper and spray again. You can also just grease and flour the pans with butter or shortening.
In a large saucepan, bring the Guinness to a boil over medium-high heat. Once boiling, reduce to medium simmer until the beer is reduced down by half.
Preheat the oven to 350 degrees. As the Guinness is simmering, add the flour, cocoa powder, sugar, baking soda, baking powder, salt, and espresso powder (optional) together in a large bowl.
Combine the dry ingredients by whisking. Set aside.
Add the oil, sour cream, eggs, and vanilla to a medium bowl.
Using a handheld or stand mixer fitted with a whisk attachment, or whisking by hand, mix the wet ingredients together.
Add the buttermilk to the wet ingredients.
Use the mixer to incorporate the buttermilk into the wet ingredients.
Pour the wet ingredients into the dry ingredients and give it a quick mix/whisk.
Pour the wet ingredients into the dry ingredients, give it a quick mix/whisk just to combine.
Add half ( about ¼ cup) of the reduced Guinness. Mix or whisk on low speed until the batter is completely incorporated. Mix in a tablespoon of flour well if the batter is too thin. If it is too thick, add more of the reduced Guinness.
Divide batter evenly between pans. (Hint: I use an ice cream scoop and add a scoop to each pan until the batter is gone and the pans hold an equal amount.) Bake for 20-25 minutes. Keep a close eye on the baking as some ovens run hotter or cooler than others. The cakes are done when a toothpick inserted in the center comes out clean.
Remove the cakes from the oven and set on a wire rack. Allow to cool completely in the pans.