Let $A \subset [0,1]$ be a Lebesgue measurable set and let $\mu$ denote the Lebesgue measure.
I am trying to show that there is a set $H$ which is the intersection of countable many open sets containing $A$ with $\mu(H \setminus A)=0$
This is the proof.
For each $n=1,2,\ldots$ there is an open set $G_n$ containing $A$ such that $\mu(G_n \setminus A) < \frac{1}{n}$
This follows from the fact that the Lebesgue outer measure $\mu(A)$ is the infimum of $\mu(G)$ over open sets $G$ containing $A$, and from measurability of $A$, $\mu(G_n \setminus A) = \mu(G_n)-\mu(A)$.
Why is $\mu(G_n \setminus A) < \frac{1}{n}$? Where does $\frac{1}{n}$ come from? And what is the explanation above trying to say?
Let $H=\bigcap^\infty_{n=1} G_n$. $H$ need not be open but it is the intersection of countably many open sets containing $A$ in particular it is Borel and Lebesgue measurable.
Why does $H=\bigcap^\infty_{n=1} G_n$? And how do we know it is Borel and Lebesgue measurable?
$\mu(H \setminus A) <\frac{1}{n}$ for every $n$ so $\mu(H \setminus A)=0$
In general what is this proof trying to say?
It looks as if you're trying to read a proof without knowing the basic definitions and without knowing some basic conventions.
As for "Why does $H=\bigcap^\infty_{n=1} G_n$?", the answer is that they just said "Let $H=\bigcap^\infty_{n=1} G_n$". That just means they're giving a name to this intersection of sets; they're calling it $H$.
You quoted a definition: Lebesgue outer measure $\mu(A)$ is the infimum of $\mu(G)$ over open sets $G$ containing $A$. That means $\mu(A)$ is the largest number that does not exceed the measure of any open set $G$ "containing" $A$. To say $G$ "contains" $A$ means that $A\subseteq G$, i.e. every member of $A$ is a member of $G$. To say that $\mu(A)$ is the largest number not exceeding the measure of any open set $G$ containing $A$ implies that every number larger than $\mu(A)$ does exceed the measure of some open set $G$ containing $A$. Thus for every number larger than $\mu(A)$ there is an open set $G$ containing $A$ whose measure is less than that number larger than $\mu(A)$. In particular, if $n\in\{1,2,3,\ldots\}$, then there is an open set $G_n$ containing $A$ whose measure is less than $\mu(A)+\frac 1 n$. The reason for concerning ourselves with $1/n$ for $n\in\{1,2,3,\ldots\}$ rather than with arbitrary positive numbers is that we want a set of positive numbers that is countably infinite rather than uncountable. Any for reasons that appear later in the proof, we want a set of such numbers that is bounded below by $0$ but is not bounded below by any positive number. The set $\{1/1, 1/2, 1/3,\ldots\}$ qualifies.
To understand how we know $H$ is Borel measurable, you need to recall what "Borel measurable" means. A Borel-measurable set, or "Borel set", is any set that can be made by starting with open sets and applying complementation, countable unions, and countable intersections. $H$ was defined to be a countable intersection of open sets.
Say the measure of $A$ is $0.8$. Then the outer measure of $A$ and the inner measure of $A$ are both $0.8$. That outer measure is $0.8$ means that for every number $0.8+\varepsilon$ bigger than $0.8$, there is some open set containing $A$ whose measure is less than $0.8+\varepsilon$, but there is no open set containing $A$ whose measure is less than $0.8$. That means in particular
The intersection of all of these must have measure at least $0.8$ since it contains $A$. But the measure of the intersection must be less than $0.8 + \frac 1 2$, and less than $0.8+\frac13$ and less than $0.8+\frac14$, and so on. The only number not less than $0.8$ that is less than all of those, is $0.8$. Hence the measure of the intersection must be $0.8$. And the intersection is the intersection of countably many open sets.